package com.example;

import com.example.until.GlobalEnum;

/**
 * @title: test
 * @Author wjf
 * @Date: 2022/11/13 16:28
 * @Version 1.0
 */
public class test {
    public static void main(String[] args) {
        String str = "123";
        int i = Integer.parseInt(str);
        String s = String.valueOf(i);
        int i1 = str.indexOf("24");
        char c = str.charAt(2);
        char[] chars = str.toCharArray();
        System.out.println(i);
        System.out.println(s);
        System.out.println(i1);
        System.out.println(c);

    }

}
